//
//  BaseAPI.swift
import SwiftUI
let testEnvironment = "testEnvironment"

/// 基础url
var kAIBaseURL:String {

    if !UserDefaults.standard.bool(forKey: testEnvironment) {
        return "https://www.chaodanfan.com/"
    } else {
        return "http://www.test.chaodanfan.com/"
    }
}

var kAIBaseAPIURL:String {
    return kAIBaseURL+"api/"
}

var kAIProtocol:String{
    return kAIBaseURL+"protocol.html?type=app_service"
}

var kAIprivacy:String{
    return kAIBaseURL+"protocol.html?type=app_private"
}


//微信
//let kAppKeyWXID = "wx4183ac8e8edbd09d"
//let kAppKeyWXAppSecret = "57233f9cf6cddc93da7ea624e1ad744c"
